package com.sondertara.joya.core.po;


import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="APP_NAS")
@Data
public class AppNasPo {
    @Id
    private String id;

    @Column(name="hostname")
    private String hostName;

    private String nasSrcPath;

    private String nasMountPath;

    private String nasSize;

    public AppNasPo(){

    }

    public AppNasPo(String id, String hostName) {
        this.id = id;
        this.hostName = hostName;
    }

    public AppNasPo(String id, String hostName,String nasSrcPath,String nasMountPath) {
        this.id = id;
        this.hostName = hostName;
        this.nasMountPath = nasMountPath;
        this.nasSrcPath = nasSrcPath;
    }
}
